#define _CRT_SECURE_NO_WARNINGS 1
#include"stack.h"
int main()
{
	ST S;
	STInit(&S);
	
	STPush(&S, 1);
	STPush(&S, 2);
	STPush(&S, 3);

	STPush(&S, 4);
	STPush(&S, 5);
	while (!STEmpty(&S) )
	{
		printf("%d", STTop(&S));
		STPop(&S);
	}


	STDestroy(&S);
	return 0;

}